Skip to content

feat: add Hunk notify stream#77

Closed
benvinegar wants to merge 1 commit intofeat/pi-selection-bridgefrom
feat/hunk-notify-stream
Closed

feat: add Hunk notify stream#77
benvinegar wants to merge 1 commit intofeat/pi-selection-bridgefrom
feat/hunk-notify-stream

Conversation

@benvinegar
Copy link
Copy Markdown
Member

Summary

  • add a loopback SSE notify stream at /notify that emits typed Hunk session events
  • store focused and published hunk selections in the daemon and expose them through hunk session selection ...
  • mirror the UI focus into daemon selection state and publish the current selection when p is used

Notes

  • this is a stacked PR on top of feat: export selected hunk to pi #73
  • the intended architecture is: notify stream for events, local hunk session ... CLI for state reads
  • the Pi file bridge remains as a compatibility/prototype adapter for now

Testing

  • bun run typecheck
  • bun test test/cli.test.ts test/session-commands.test.ts test/mcp-daemon.test.ts test/mcp-server.test.ts test/pi-selection.test.ts test/app-interactions.test.tsx

@benvinegar
Copy link
Copy Markdown
Member Author

Closing for backlog cleanup. This stacked notify-stream PR depends on the older Pi selection bridge work and has drifted too far from the current branch structure to keep open usefully. If we still want this direction, it should come back as a fresh PR.

@benvinegar benvinegar closed this Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant